<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
  <head>
  	  <base href="<%=basePath%>">
	<script type="text/javascript" src="<%=basePath%>/js/base/jquery.js"></script>
  <title>ibeancon设备管理</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
</head>
<body >


<div>
	<table border="1">
		<c:forEach items="${retList}" var="date" >
		<tr>
			<td>
			${date.key}
			</td>
			<td>
			${date.value}
			</td>
		</tr>
		</c:forEach>
	</table>
</div>
<div>
	<table border="1">
		<c:forEach items="${beaconInfos}" var="beaconInfos" >
		<tr>
			<td>
			pageId
			</td>
			<td>
			${beaconInfos.pageId}
			</td>
			
		</tr>
		<tr>
			<td>
			openId
			</td>
			<td>
			${beaconInfos.openId}
			</td>
		</tr>
		<tr>
			<td>
			distance
			</td>
			<td>
			${beaconInfos.distance}
			</td>
		</tr>
		<tr>
			<td>
			uuid
			</td>
			<td>
			${beaconInfos.uuid}
			</td>
		</tr>
		<tr>
			<td>
			minor
			</td>
			<td>
			${beaconInfos.minor}
			</td>
		</tr>
		<tr>
			<td>
			major
			</td>
			<td>
			${beaconInfos.major}
			</td>
		</tr>
		<tr>
			<td>
			xmlsb
			</td>
			<td>
			${xmlsb}
			</td>
		</tr>
		</c:forEach>
	</table>
</div>
<div>
	<table border="1">
		
		<tr>
			<td>
			toUserName
			</td>
			<td>
			${beaconsInfo.toUserName}
			</td>
			
		</tr>
		<tr>
			<td>
			fromUserName
			</td>
			<td>
			${beaconsInfo.fromUserName}
			</td>
		</tr>
		<tr>
			<td>
			createTime
			</td>
			<td>
			${beaconsInfo.createTime}
			</td>
		</tr>
		<c:forEach items="${beaconsInfo.beaconInfo}" var="beacons" >
		<tr>
			<td>
			distance
			</td>
			<td>
			${beacons.distance}
			</td>
		</tr>
		<tr>
			<td>
			uuid
			</td>
			<td>
			${beacons.uuid}	
			</td>
		</tr>
		<tr>
			<td>
			minor
			</td>
			<td>
			${beacons.minor}
			</td>
		</tr>
		<tr>
			<td>
			major
			</td>
			<td>
			${beacons.major}
			</td>
		</tr>
		</c:forEach>
	</table>
	
	<div> 
	 	<a href="jsp/surroundingIbeacon.jsp">开启周边查询ibeacon设备</a>
	</div>s
</body>
</html>
	